package com.example.myaop.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/user")
public class UserController {
    @RequestMapping("/log")
    public String log(){
        System.out.println("log()");
        Object object = null;
        System.out.println(object.hashCode());
        return "log";
    }
    @RequestMapping("/reg")
    public String reg(){
        System.out.println("reg()");
        return "reg";
    }
}
